package lab02.test20;

import java.util.Scanner;

/**
 * Created by 123 on 2017/12/29.
 */
public class Test20 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String str = sc.nextLine();//从键盘输入一个字符串

        for (int i = 0; i < str.length(); i++) {
            char tmp = str.charAt(i);
            if (tmp > '0' && tmp < '9') {
                System.out.print(tmp);
            }
        }

    }
}
